package net.sf.yacas;

final class LispStringIntern {
	// If string not yet in table, insert. Afterwards return the string.
	String LookUp(String aString) {
		return aString.intern();
	}

	String LookUpStringify(String aString) {
		aString = "\"" + aString + "\"";
		return aString.intern();
	}

	String LookUpUnStringify(String aString) {
		aString = aString.substring(1, aString.length() - 1);
		return aString.intern();
	}
}
